package com.edfu.core.commons.service.api;

import java.util.List;

import org.springframework.security.access.prepost.PreAuthorize;

import com.edfu.core.commons.beans.Category;
import com.edfu.core.identitymgt.vo.User;

public interface IInterestsMgtService {
	
	@PreAuthorize("isAnonymous()")
    public void addInterests(String userId, String categoryName);
	
	@PreAuthorize("isAnonymous()")
    public void addInterests(String userId, List<String> categoryNames);
    
    @PreAuthorize("isAnonymous()")
    public List<Category> getUserInterests(String userId);
    
    @PreAuthorize("isAnonymous()")
    public List<User> getUsersInterestedInCategory(String categoryName);    

}
